TextSetting

Conforms to:
NSCopying
Superclass:
NSObject
Declared In:

Introduction

文本设置 Text setting



Methods

-Clear

Clear


-(void)Clear; 
Discussion

恢复初始设置 Restore the initial settings


Properties

Alignmode
CpclFonttype
EscFonttype
IsBold
IsInverse
IsItalic
IsTimes4_Wide
IsTimes_Heigh
IsTimes_Wide
IsUnderline
Rotate
TSCFonttype
X_multi
X_start
Y_multi
Y_start
ZplFonttype
ZplHeihtFactor
ZplWidthFactor

Alignmode


@property (nonatomic) Alignment Alignmode; 
Discussion

设置对齐方式(适用于ESC指令) Set alignment (for ESC command)


CpclFonttype


@property (nonatomic) CPCLFontType CpclFonttype; 
Discussion

设置字体类型(适用于Cpcl指令) Set font type (for Cpcl)


EscFonttype


@property (nonatomic) ESCFontType EscFonttype; 
Discussion

设置字体类型(适用于ESC指令) Set font type (for ESC)


IsBold


@property (nonatomic) SettingMode IsBold; 
Discussion

设置粗体(适用于ESC指令) Set bold (for ESC)


IsInverse


@property (nonatomic) SettingMode IsInverse; 
Discussion

是否反白(适用于ESC指令) Set / release Anti-White


IsItalic


@property (nonatomic) SettingMode IsItalic; 
Discussion

设置斜体(适用于ESC指令) Set italics (for ESC)


IsTimes4_Wide


@property (nonatomic) SettingMode IsTimes4_Wide; 
Discussion

设置/解除4倍宽 适用于ESC,Pin指令 Turn quadruple-size mode on/off for Kanji characters(for ESC,Pin)


IsTimes_Heigh


@property (nonatomic) SettingMode IsTimes_Heigh; 
Discussion

设置/解除倍高,适用于ESC,Pin指令 Set / release Double-Height(for ESC,Pin)


IsTimes_Wide


@property (nonatomic) SettingMode IsTimes_Wide; 
Discussion

设置/解除倍宽,适用于ESC,Pin指令 Set / release Double-Width(for ESC,Pin)


IsUnderline


@property (nonatomic) SettingMode IsUnderline; 
Discussion

设置下划线(适用于ESC指令) Underline setting (for ESC)


Rotate


@property (nonatomic) RotateType Rotate; 
Discussion

旋转度数,适用TSC,CPCL,ESC(仅Rotate90,Rotate0有效) Rotation degree for TSC, CPCL, ESC (Rotate90, Rotate0 only)


TSCFonttype


@property (nonatomic) TSCFontType TSCFonttype; 
Discussion

设置字体类型(适用于TSC指令) Set font type (for ESC)


X_multi


@property (nonatomic) NSInteger X_multi; 
Discussion

水平放大值 TSC:有效系数 1~10 Cpcl:有效系数 1~16

Zoom in horizontally   TSC: The effective coefficient is 1 ~ 10   Cpcl: The effective coefficient is 1 ~ 16


X_start


@property (nonatomic) NSInteger X_start; 
Discussion

左上角X坐标,适用TSC,CPCL X coordinate of the upper left corner, for TSC, CPCL


Y_multi


@property (nonatomic) NSInteger Y_multi; 
Discussion

垂直放大值 TSC:有效系数 1~10 Cpcl:有效系数 1~16

Vertical magnification    TSC: The effective coefficient is 1 ~ 10    Cpcl: The effective coefficient is 1 ~ 16


Y_start


@property (nonatomic) NSInteger Y_start; 
Discussion

左上角Y坐标,适用TSC,CPCL Y coordinate of the upper left corner, for TSC, CPCL


ZplFonttype


@property (nonatomic) ZPLFontType ZplFonttype; 
Discussion

设置字体类型(适用于ZPL指令) Set font type (for ZPL)


ZplHeihtFactor


@property (nonatomic) NSInteger ZplHeihtFactor; 
Discussion

可缩放(矢量)/位图(点阵)字体的高度设置(for zpl) 可缩放:10〜32000 位图: 1-10

Scalable (vector) / Bitmapped (dot matrix) font height settings Scalable:10〜32000 Bitmapped: 1-10


ZplWidthFactor


@property (nonatomic) NSInteger ZplWidthFactor; 
Discussion

可缩放(矢量)/位图(点阵)字体的宽度设置(for zpl) 可缩放:10〜32000 位图: 1-10

Scalable (vector) / Bitmapped (dot matrix) font width settings Scalable:10〜32000 Bitmapped: 1-10